<nav class="navbar-default navbar-static-side" role="navigation">
    <div class="nav-close"><i class="fa fa-times-circle"></i>
    </div>
    <div class="sidebar-collapse">
        <ul class="nav" id="side-menu">
            <li class="nav-header">
                <div class="dropdown profile-element text-center">
                    <span><img alt="image" class="img-circle" src="/static/img/logo.png"
                               style="width:64px;height:64px;"/></span>
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                        <span class="clear"></span>
                        <span class="block m-t-xs"><strong
                                class="font-bold">{$user.user_name}</strong>



                            <!--<span class="badge badge-danger">未认证</span>-->
                   <!---->
                            <!--<span class="badge badge-primary">已认证</span>-->


                        </span>
                        <span class="text-muted text-xs block m-t-xs">超级管理员<b class="caret"></b></span>
                    </a>
                    <ul class="dropdown-menu animated fadeIn m-t-xs">

                        <li><a class="J_menuItem" href="{:url('Admin/User/editUser')}">个人资料</a>
                        </li>


                        <li class="divider"></li>
                        <li><a href="{:url('Admin/Index/signOut')}">安全退出</a>
                        </li>
                    </ul>
                </div>
                <div class="logo-element">
                     <span><img alt="image" class="img-circle" src="/static/img/logo.png"
                                style="width:32px;"/></span>
                </div>
            </li>
            {volist name="menu" id="vo"}
            {if condition="!$vo['child']"}
            <li class="active">
                <a class="J_menuItem" href="{:url($vo['href'])}"><i class="{$vo['icon']}"></i> <span
                        class="nav-label">{$vo['title']}</span>
                    {if  condition="$vo['title'] eq '信箱'"}
                    <span class="label label-warning pull-right" id='count'></span>
                    {/if}
                </a>

            </li>
            {else/}
            <li class="active">
                <a href="#">
                    <i class="{$vo['icon']}"></i>
                    <span class="nav-label">{$vo['title']}</span>
                    <span class="fa arrow"></span>
                </a>
                <ul class="nav nav-second-level collapse in" aria-expanded="true">
                    <li>
                        {volist name="vo['child']" id="v"}
                        <a class="J_menuItem" href="{:url($v['href'])}">{$v['title']}</a>
                        {/volist}
                    </li>
                </ul>
            </li>
            {/if}
            {/volist}
        </ul>
    </div>
</nav>
<script src="/static/js/jquery.min.js?v=2.1.4"></script>

